package ace.cmp.kaptcha.core.service;

import ace.cmp.kaptcha.core.properties.KaptchaProperties;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.google.code.kaptcha.util.Config;
import java.util.Properties;

/**
 * @author caspar
 * @date 2023/3/21 16:43
 */
public interface KaptchaFactory {

  DefaultKaptcha create(KaptchaProperties properties);

  Config getKaptchaConfigFrom(KaptchaProperties properties);

  Properties getKaptchaPropertiesFrom(KaptchaProperties properties);
}
